SEC-178: pin GitHub Action refs to full SHAs#5
Merged
Conversation
Pins actions/checkout@v6 and actions/setup-python@v6 in ci.yml and publish.yml to the full commit SHAs of the v6 tags as of 2026-04-21. Required before the org-wide sha_pinning_required policy (rootlyhq/terraform-rootly#891) lands; otherwise this repo's CI would fail validation at the "Set up job" step on first run after apply. SHAs: actions/checkout@v6 -> de0fac2e4500dabe0009e67214ff5f5447ce83dd actions/setup-python@v6 -> a309ff8b426b58ec0e2a45f0f869d46889d02405 Linear: SEC-178 (follow-up to SEC-89).
kwent
approved these changes
Apr 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Pins all external GitHub Actions in this repo to full 40-char commit SHAs. Required before the org-wide
sha_pinning_required = truepolicy (rootlyhq/terraform-rootly#891) lands — otherwise CI here fails validation on the next run after apply.Linear: SEC-178 (follow-up to SEC-89).
Changes
.github/workflows/ci.ymlactions/checkout@v6,actions/setup-python@v6(×2 each).github/workflows/publish.ymlactions/checkout@v6,actions/setup-python@v6All SHAs preserve the original tag as a trailing comment (Dependabot convention).
SHAs
actions/checkout@v6→de0fac2e4500dabe0009e67214ff5f5447ce83ddactions/setup-python@v6→a309ff8b426b58ec0e2a45f0f869d46889d02405Resolved via
gh api /repos/OWNER/REPO/commits/TAGon 2026-04-21.Test plan
🤖 Generated with Claude Code